home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 / Ham Radio 2000.iso / ham2000 / misc / kc1qfnts / sysop.frm < prev    next >
Text File  |  1995-03-25  |  17KB  |  540 lines

  1. VERSION 2.00
  2. Begin Form SYSOP 
  3.    BackColor       =   &H00000000&
  4.    Caption         =   " "
  5.    ClientHeight    =   6840
  6.    ClientLeft      =   105
  7.    ClientTop       =   315
  8.    ClientWidth     =   9465
  9.    FontBold        =   -1  'True
  10.    FontItalic      =   0   'False
  11.    FontName        =   "MS Sans Serif"
  12.    FontSize        =   18
  13.    FontStrikethru  =   0   'False
  14.    FontUnderline   =   0   'False
  15.    ForeColor       =   &H0000FFFF&
  16.    Height          =   7245
  17.    Left            =   45
  18.    LinkTopic       =   "Form1"
  19.    ScaleHeight     =   6840
  20.    ScaleWidth      =   9465
  21.    Top             =   -30
  22.    Width           =   9585
  23.    Begin PictureBox Picture1 
  24.       BackColor       =   &H00000000&
  25.       Height          =   585
  26.       Index           =   0
  27.       Left            =   480
  28.       Picture         =   SYSOP.FRX:0000
  29.       ScaleHeight     =   555
  30.       ScaleWidth      =   495
  31.       TabIndex        =   21
  32.       Top             =   285
  33.       Width           =   525
  34.    End
  35.    Begin SSOption Option3D8 
  36.       Caption         =   "Emergency"
  37.       Font3D          =   0  'None
  38.       ForeColor       =   &H000000FF&
  39.       Height          =   345
  40.       Left            =   3780
  41.       TabIndex        =   20
  42.       Top             =   4515
  43.       Width           =   1215
  44.    End
  45.    Begin SSOption Option3D7 
  46.       Caption         =   "Priority"
  47.       Font3D          =   0  'None
  48.       ForeColor       =   &H000000FF&
  49.       Height          =   345
  50.       Left            =   3780
  51.       TabIndex        =   19
  52.       Top             =   4125
  53.       Width           =   1215
  54.    End
  55.    Begin SSOption Option3D6 
  56.       Caption         =   "Welfare"
  57.       Font3D          =   0  'None
  58.       ForeColor       =   &H000000FF&
  59.       Height          =   345
  60.       Left            =   3780
  61.       TabIndex        =   18
  62.       Top             =   3735
  63.       Width           =   1215
  64.    End
  65.    Begin SSOption Option3D5 
  66.       Caption         =   "Routine"
  67.       Font3D          =   0  'None
  68.       ForeColor       =   &H000000FF&
  69.       Height          =   345
  70.       Left            =   3780
  71.       TabIndex        =   17
  72.       Top             =   3405
  73.       Width           =   1215
  74.    End
  75.    Begin SSFrame Frame3D2 
  76.       Caption         =   "Precedence Choices"
  77.       Font3D          =   0  'None
  78.       Height          =   1800
  79.       Left            =   3585
  80.       TabIndex        =   16
  81.       Top             =   3210
  82.       Width           =   2715
  83.    End
  84.    Begin TextBox Text4 
  85.       BackColor       =   &H000000C0&
  86.       FontBold        =   -1  'True
  87.       FontItalic      =   0   'False
  88.       FontName        =   "MS Sans Serif"
  89.       FontSize        =   13.5
  90.       FontStrikethru  =   0   'False
  91.       FontUnderline   =   0   'False
  92.       ForeColor       =   &H00FFFFFF&
  93.       Height          =   555
  94.       Left            =   510
  95.       MultiLine       =   -1  'True
  96.       TabIndex        =   15
  97.       Text            =   "Text4"
  98.       Top             =   3285
  99.       Width           =   9000
  100.    End
  101.    Begin SSCommand Command3D6 
  102.       Caption         =   "Back to Setup Menu"
  103.       Font3D          =   0  'None
  104.       ForeColor       =   &H00000000&
  105.       Height          =   945
  106.       Left            =   525
  107.       Picture         =   SYSOP.FRX:0302
  108.       TabIndex        =   14
  109.       Top             =   5775
  110.       Width           =   1890
  111.    End
  112.    Begin SSOption Option3D4 
  113.       Caption         =   "Set City of Origin"
  114.       Font3D          =   0  'None
  115.       FontBold        =   -1  'True
  116.       FontItalic      =   0   'False
  117.       FontName        =   "MS Sans Serif"
  118.       FontSize        =   12
  119.       FontStrikethru  =   0   'False
  120.       FontUnderline   =   0   'False
  121.       ForeColor       =   &H000000FF&
  122.       Height          =   495
  123.       Left            =   2805
  124.       TabIndex        =   13
  125.       Top             =   6285
  126.       Width           =   4000
  127.    End
  128.    Begin SSOption Option3D3 
  129.       Caption         =   "Set Precedence (defaults to 'R')"
  130.       Font3D          =   0  'None
  131.       FontBold        =   -1  'True
  132.       FontItalic      =   0   'False
  133.       FontName        =   "MS Sans Serif"
  134.       FontSize        =   12
  135.       FontStrikethru  =   0   'False
  136.       FontUnderline   =   0   'False
  137.       ForeColor       =   &H000000FF&
  138.       Height          =   495
  139.       Left            =   2805
  140.       TabIndex        =   12
  141.       Top             =   5865
  142.       Width           =   4100
  143.    End
  144.    Begin SSOption Option3D2 
  145.       Caption         =   "Set Initial Message Number"
  146.       Font3D          =   0  'None
  147.       FontBold        =   -1  'True
  148.       FontItalic      =   0   'False
  149.       FontName        =   "MS Sans Serif"
  150.       FontSize        =   12
  151.       FontStrikethru  =   0   'False
  152.       FontUnderline   =   0   'False
  153.       ForeColor       =   &H000000FF&
  154.       Height          =   495
  155.       Left            =   2805
  156.       TabIndex        =   11
  157.       Top             =   5490
  158.       Width           =   4000
  159.    End
  160.    Begin SSOption Option3D1 
  161.       Caption         =   "Set Amateur Radio Callsign"
  162.       Font3D          =   0  'None
  163.       FontBold        =   -1  'True
  164.       FontItalic      =   0   'False
  165.       FontName        =   "MS Sans Serif"
  166.       FontSize        =   12
  167.       FontStrikethru  =   0   'False
  168.       FontUnderline   =   0   'False
  169.       ForeColor       =   &H000000FF&
  170.       Height          =   495
  171.       Left            =   2805
  172.       TabIndex        =   10
  173.       Top             =   5055
  174.       Width           =   4000
  175.    End
  176.    Begin SSFrame Frame3D1 
  177.       Caption         =   " "
  178.       Font3D          =   0  'None
  179.       Height          =   1860
  180.       Left            =   2715
  181.       TabIndex        =   9
  182.       Top             =   4965
  183.       Width           =   5085
  184.    End
  185.    Begin TextBox Text3 
  186.       BackColor       =   &H00808080&
  187.       FontBold        =   -1  'True
  188.       FontItalic      =   0   'False
  189.       FontName        =   "MS Sans Serif"
  190.       FontSize        =   13.5
  191.       FontStrikethru  =   0   'False
  192.       FontUnderline   =   0   'False
  193.       ForeColor       =   &H0000FFFF&
  194.       Height          =   3000
  195.       Left            =   510
  196.       MultiLine       =   -1  'True
  197.       TabIndex        =   8
  198.       Text            =   "Text3"
  199.       Top             =   75
  200.       Width           =   8985
  201.    End
  202.    Begin SSCommand Command3D5 
  203.       Caption         =   "Continue"
  204.       Font3D          =   0  'None
  205.       ForeColor       =   &H00000000&
  206.       Height          =   885
  207.       Left            =   6285
  208.       Picture         =   SYSOP.FRX:0604
  209.       TabIndex        =   7
  210.       Top             =   4095
  211.       Width           =   2670
  212.    End
  213.    Begin SSCommand Command3D4 
  214.       Caption         =   "OK"
  215.       Font3D          =   0  'None
  216.       ForeColor       =   &H00000000&
  217.       Height          =   915
  218.       Left            =   6345
  219.       Picture         =   SYSOP.FRX:0906
  220.       TabIndex        =   6
  221.       Top             =   4380
  222.       Width           =   1215
  223.    End
  224.    Begin TextBox Text2 
  225.       FontBold        =   -1  'True
  226.       FontItalic      =   0   'False
  227.       FontName        =   "MS Sans Serif"
  228.       FontSize        =   13.5
  229.       FontStrikethru  =   0   'False
  230.       FontUnderline   =   0   'False
  231.       Height          =   5250
  232.       Left            =   4530
  233.       MultiLine       =   -1  'True
  234.       TabIndex        =   5
  235.       Text            =   "Text2"
  236.       Top             =   105
  237.       Width           =   4845
  238.    End
  239.    Begin DirListBox Dir1 
  240.       FontBold        =   -1  'True
  241.       FontItalic      =   0   'False
  242.       FontName        =   "MS Sans Serif"
  243.       FontSize        =   12
  244.       FontStrikethru  =   0   'False
  245.       FontUnderline   =   0   'False
  246.       Height          =   5310
  247.       Left            =   555
  248.       TabIndex        =   4
  249.       Top             =   -15
  250.       Width           =   3345
  251.    End
  252.    Begin TextBox Text1 
  253.       BackColor       =   &H00000000&
  254.       FontBold        =   -1  'True
  255.       FontItalic      =   0   'False
  256.       FontName        =   "MS Sans Serif"
  257.       FontSize        =   24
  258.       FontStrikethru  =   0   'False
  259.       FontUnderline   =   0   'False
  260.       ForeColor       =   &H0000FFFF&
  261.       Height          =   2595
  262.       Left            =   1710
  263.       TabIndex        =   3
  264.       Text            =   "KY1T-NTS Program Setup"
  265.       Top             =   2490
  266.       Width           =   6480
  267.    End
  268.    Begin SSCommand Command3D3 
  269.       Caption         =   "Radiogram Setup"
  270.       Font3D          =   0  'None
  271.       ForeColor       =   &H00000000&
  272.       Height          =   945
  273.       Left            =   7215
  274.       Picture         =   SYSOP.FRX:0C08
  275.       TabIndex        =   2
  276.       Top             =   5760
  277.       Width           =   2000
  278.    End
  279.    Begin SSCommand Command3D2 
  280.       Caption         =   "General Setup"
  281.       Font3D          =   0  'None
  282.       ForeColor       =   &H00000000&
  283.       Height          =   945
  284.       Left            =   4000
  285.       Picture         =   SYSOP.FRX:0F0A
  286.       TabIndex        =   1
  287.       Top             =   5775
  288.       Width           =   2000
  289.    End
  290.    Begin SSCommand Command3D1 
  291.       Caption         =   "Back To Main Menu"
  292.       Font3D          =   0  'None
  293.       ForeColor       =   &H00000000&
  294.       Height          =   945
  295.       Left            =   495
  296.       Picture         =   SYSOP.FRX:120C
  297.       TabIndex        =   0
  298.       Top             =   5760
  299.       Width           =   1995
  300.    End
  301. End
  302.  
  303. Sub Command3D1_Click ()
  304.     sysop.Hide
  305.     ky1tnts.Show
  306.  
  307. End Sub
  308.  
  309. Sub Command3D2_Click ()
  310. command3d4.Visible = False
  311. command3d5.Visible = False
  312. text1.Visible = False
  313. text4.Visible = False
  314. dir1.Visible = True
  315.  text2.Visible = True
  316. For i = 0 To 3
  317. picture1(i).Visible = False
  318. Next i
  319.  
  320. text2.Text = "The first step for general setup is to choose the subdirectory where your radiograms and/or voicegrams are to be placed.  This flexibility is important because you may be using TCP/IP, for example, in which case you'd want the messages to be placed in a \nos\spool\mqueue - type of subdirectory.  Please choose the correct subdirectory now by DOUBLE-clicking the mouse in the directory list box to the left."
  321. End Sub
  322.  
  323. Sub Command3D3_Click ()
  324. command3d5.Visible = True
  325. text2.Visible = True
  326. For i = 0 To 3
  327. picture1(i).Visible = False
  328. Next i
  329.  
  330. text2.Text = "By now, you must have already performed the 'General Setup'.  If not, click on that button now, before continuing with the Radiogram Setup routine.  Otherwise, click on the 'Continue' Button"
  331.  
  332. End Sub
  333.  
  334. Sub Command3D4_Click ()
  335. command3d4.Visible = False
  336.  
  337. enablevoice = MsgBox("Do you wish to enable digitized voicegram operation?", 4, "Enable Voicegrams")
  338.  
  339.  
  340. Select Case enablevoice 'Voicegrams enabled?  If so, enable related controls
  341.   Case 6
  342.     enablevoice = 6
  343.                  
  344.   Case 7
  345.         enablevoice = 7
  346.  
  347.         End Select
  348.  
  349.  
  350. text2.Text = "Now, click on the 'radiogram setup' button."
  351.  
  352. End Sub
  353.  
  354. Sub Command3D5_Click ()
  355. command3d1.Visible = False
  356. command3d2.Visible = False
  357. command3d3.Visible = False
  358. command3d5.Visible = False
  359. dir1.Visible = False
  360. text2.Visible = False
  361. text3.Visible = True
  362. text3.Text = "There are a number of radiogram setup parameters that you should deal with at this point.  They include setting the Amateur Radio callsign to be used, the starting message number (if you wish), the city of origin, etc.  Please choose the parameter you'd like to set up now, by clicking on the appropriate radio button. At present, a sample of how your radiogram's preamble would look is presented below."
  363. frame3d1.Visible = True
  364. option3d1.Visible = True
  365. option3d2.Visible = True
  366. option3d3.Visible = True
  367. option3d4.Visible = True
  368. command3d6.Visible = True
  369. text4.Visible = True
  370.  
  371. For i = 0 To 3
  372. picture1(i).Visible = False
  373. Next i
  374.  
  375.  
  376. End Sub
  377.  
  378. Sub Command3D6_Click ()
  379. command3d1.Visible = True
  380. command3d2.Visible = True
  381. command3d3.Visible = True
  382. command3d5.Visible = True
  383. dir1.Visible = True
  384. text2.Visible = True
  385. text3.Visible = False
  386.  
  387. frame3d1.Visible = False
  388. option3d1.Visible = False
  389. option3d2.Visible = False
  390. option3d3.Visible = False
  391. option3d4.Visible = False
  392. command3d6.Visible = False
  393. 'command3d7.Visible = False
  394.  
  395. End Sub
  396.  
  397. Sub Dir1_Change ()
  398. command3d4.Visible = True
  399. directory$ = dir1.Path
  400. text2.Text = ("So far, you've chosen " & directory$ & ", which is where your radiograms or voicegrams will placed.  If that's correct, click on the 'OK' button.  If not, continue choosing the correct subdirectory by DOUBLEclicking.  Click on the 'OK' button ONLY when completely satisfied.")
  401.  
  402. End Sub
  403.  
  404. Sub Dir1_Click ()
  405. command3d4.Visible = True
  406. directory$ = dir1.Path
  407. text2.Text = ("So far, you've chosen " & directory$ & ", which is where your radiograms or voicegrams will placed.  If that's correct, click on the 'OK' button.  If not, continue choosing the correct subdirectory by DOUBLEclicking.  Click on the 'OK' button ONLY when completely satisfied.")
  408.  
  409.  
  410. End Sub
  411.  
  412. Sub Form_Activate ()
  413. dir1.Visible = False
  414. text2.Visible = False
  415. text2.Text = "The first step for general setup is to choose the subdirectory where your radiograms and/or voicegrams are to be placed.  This flexibility is important because you may be using TCP/IP, for example, in which case you'd want the messages to be placed in a \nos\spool\mqueue - type of subdirectory.  Please choose the correct subdirectory now."
  416. command3d4.Visible = False
  417. command3d5.Visible = False
  418. command3d6.Visible = False
  419. 'command3d7.Visible = False
  420. text3.Visible = False
  421. text4.Visible = False
  422.  
  423. frame3d1.Visible = False
  424. frame3d2.Visible = False
  425.  option3d1.Visible = False
  426.  option3d2.Visible = False
  427.  option3d3.Visible = False
  428.  option3d4.Visible = False
  429.  option3d5.Visible = False
  430.  option3d6.Visible = False
  431.  option3d7.Visible = False
  432.  option3d8.Visible = False
  433.  
  434.  
  435. For i = 1 To 4
  436. picture1(i).Visible = True
  437. Next i
  438.  
  439.  
  440.  
  441. End Sub
  442.  
  443. Sub Form_Load ()
  444. callsign$ = "KY7XXXX"
  445. initialmessagenumber = 10
  446. cityoforigination$ = "PODUNK NOWHERE"
  447. precedence$ = "R"
  448. text4.Text = "NR " & initialmessagenumber & " " + precedence$ + " " + UCase$(callsign$) + " " + "5 " + UCase$(cityoforigination$) + " " + UCase$(todaysdate$)
  449. dir1.Path = "C:\"
  450.  
  451.  
  452. For i = 1 To 5
  453. Load picture1(i)
  454. picture1(i).Left = picture1(i - 1).Left + 2500
  455. picture1(i).Visible = -1
  456. Next i
  457.  
  458.  
  459.  
  460. End Sub
  461.  
  462. Sub Option3D1_Click (Value As Integer)
  463. callsign$ = InputBox$("Enter Amateur Radio callsign", "Callsign")
  464. text4.Text = "NR " & initialmessagenumber & " " + precedence$ + " " + UCase$(callsign$) + " " + "5 " + UCase$(cityoforigination$) + " " + UCase$(todaysdate$)
  465.  
  466. End Sub
  467.  
  468. Sub Option3D2_Click (Value As Integer)
  469. x$ = InputBox$("Enter Initial Message Number", "Message Number")
  470. initialmessagenumber = Val(x$)
  471. text4.Text = "NR " & initialmessagenumber & " " + precedence$ + " " + UCase$(callsign$) + " " + "5 " + UCase$(cityoforigination$) + " " + UCase$(todaysdate$)
  472.  
  473. End Sub
  474.  
  475. Sub Option3D3_Click (Value As Integer)
  476.  frame3d2.Visible = True
  477.  option3d5.Visible = True
  478.  option3d6.Visible = True
  479.  option3d7.Visible = True
  480.  option3d8.Visible = True
  481.  
  482. End Sub
  483.  
  484. Sub Option3D4_Click (Value As Integer)
  485. cityoforigination$ = InputBox$("Enter city and State of radiogram origination -- but remember that there is to be NO punctuation and a USA State abbreviation consists of only two letters." & Chr$(10) & Chr$(10) & Chr$(13) & "A proper example would be 'OKMULGEE OK', rather than 'OKMULGEE, OKLA'", "City Of Origin")
  486. text4.Text = ""
  487. text4.Text = "NR " & initialmessagenumber & " " + precedence$ + " " + UCase$(callsign$) + " " + "5 " + UCase$(cityoforigination$) + " " + UCase$(todaysdate$)
  488.  
  489. End Sub
  490.  
  491. Sub Option3D5_Click (Value As Integer)
  492. precedence$ = "R"
  493.  
  494. text4.Text = "NR " & initialmessagenumber & " " + precedence$ + " " + UCase$(callsign$) + " " + "5 " + UCase$(cityoforigination$) + " " + UCase$(todaysdate$)
  495.  frame3d2.Visible = False
  496.  option3d5.Visible = False
  497.  option3d6.Visible = False
  498.  option3d7.Visible = False
  499.  option3d8.Visible = False
  500.  
  501. End Sub
  502.  
  503. Sub Option3D6_Click (Value As Integer)
  504.  precedence$ = "W"
  505.  
  506. text4.Text = "NR " & initialmessagenumber & " " + precedence$ + " " + UCase$(callsign$) + " " + "5 " + UCase$(cityoforigination$) + " " + UCase$(todaysdate$)
  507.  frame3d2.Visible = False
  508.  option3d5.Visible = False
  509.  option3d6.Visible = False
  510.  option3d7.Visible = False
  511.  option3d8.Visible = False
  512.  
  513. End Sub
  514.  
  515. Sub Option3D7_Click (Value As Integer)
  516. precedence$ = "P"
  517.  
  518. text4.Text = "NR " & initialmessagenumber & " " + precedence$ + " " + UCase$(callsign$) + " " + "5 " + UCase$(cityoforigination$) + " " + UCase$(todaysdate$)
  519.  frame3d2.Visible = False
  520.  option3d5.Visible = False
  521.  option3d6.Visible = False
  522.  option3d7.Visible = False
  523.  option3d8.Visible = False
  524.  
  525. End Sub
  526.  
  527. Sub Option3D8_Click (Value As Integer)
  528. precedence$ = "EMERGENCY"
  529. text4.Text = ""
  530.  
  531. text4.Text = "NR " & initialmessagenumber & " " + precedence$ + " " + UCase$(callsign$) + " " + "5 " + UCase$(cityoforigination$) + " " + UCase$(todaysdate$)
  532.  frame3d2.Visible = False
  533.  option3d5.Visible = False
  534.  option3d6.Visible = False
  535.  option3d7.Visible = False
  536.  option3d8.Visible = False
  537.  
  538. End Sub
  539.  
  540.